package mest.service.cxj.impl;

import mest.dao.cxj.DictionariesOrderDao;
import mest.entity.DictionariesOrder;
import mest.service.cxj.DictionariesOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DictionariesOrderServiceImpl implements DictionariesOrderService {

    @Resource
    private DictionariesOrderDao dictionariesOrderDao;

    @Override
    public DictionariesOrder selectDictionariesOrder(String theirDb) {
        return dictionariesOrderDao.selectDictionariesOrder(theirDb);
    }

    @Override
    public void updateDictionariesOrderByProductOrderNumber(String theirDb) {
        dictionariesOrderDao.updateDictionariesOrderByProductOrderNumber(theirDb);
    }

    @Override
    public void updateDictionariesOrderByOtherIncomeNumber(String theirDb) {
        dictionariesOrderDao.updateDictionariesOrderByOtherIncomeNumber(theirDb);
    }

    @Override
    public int add_dictionaries_Order(String theirDb,String record) {
        return dictionariesOrderDao.add_dictionaries_Order(theirDb,record);
    }

    @Override
    public void updateDictionariesOrderByCostOrderNumber(String theirDb) {
        dictionariesOrderDao.updateDictionariesOrderByCostOrderNumber(theirDb);
    }

    @Override
    public void updateDictionariesOrderByPlanCostOrderNumber(String theirDb) {
        dictionariesOrderDao.updateDictionariesOrderByPlanCostOrderNumber(theirDb);
    }

    @Override
    public void updateDictionariesOrderByFinancialCostOrderNumber(String theirDb) {
        dictionariesOrderDao.updateDictionariesOrderByFinancialCostOrderNumber(theirDb);
    }

    @Override
    public void updateDictionariesOrderByPlanOtherIncomeNumber(String theirDb) {
        dictionariesOrderDao.updateDictionariesOrderByPlanOtherIncomeNumber(theirDb);
    }

    @Override
    public void updateDictionariesOrderByFinancialOtherIncomeNumber(String theirDb) {
        dictionariesOrderDao.updateDictionariesOrderByFinancialOtherIncomeNumber(theirDb);
    }

}
